package org.itboys.basetemplate.entity;

import java.util.Date;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
@Entity(value = "TravelNoteCat", noClassnameStored = true)
public class TravelNoteCat extends BaseLongIdEntity {
	private Long parentId;//多层级事使用
	private String idPath;//id层级路径
	private String name;//名称
	private Integer type;//类型1：微信；2：pc
	private Date createTime;//创建时间
	private Date updateTime;//更新时间
	private Date sortTime;//排序时间
	private Integer sort;//排序
	private String description;//简介
	private String image;//logo
	private String url;//配置链接
	private Integer level;//层级
	private Integer status;//1创建，2发布
	private Integer isDeleted;//1删除
	private static final long serialVersionUID = 1L;

	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getIdPath() {
		return idPath;
	}
	public void setIdPath(String idPath) {
		this.idPath = idPath;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getSortTime() {
		return sortTime;
	}
	public void setSortTime(Date sortTime) {
		this.sortTime = sortTime;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Integer getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	
}